package com.bl.weilan.service.vo.company;

import com.bl.weilan.dao.model.*;
import com.bl.weilan.service.vo.companyopponent.CompanyOpponentVo;
import com.bl.weilan.service.vo.companystockholder.CompanyStockholderVo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import java.util.Date;
import java.util.List;

@Data
public class CompanyVo {
    @Id
    @ApiModelProperty(value = "id")
    private String id;

    @ApiModelProperty(value = "全称")
    @Column(name = "full_name")
    private String fullName;

    @ApiModelProperty(value = "简称")
    @Column(name = "short_name")
    private String shortName;

    @ApiModelProperty(value = "城市")
    private String city;

    @ApiModelProperty(value = "时间")
    @Column(name = "found_time")
    private Date foundTime;

    @ApiModelProperty(value = "法人")
    private String corporateId;

    @ApiModelProperty(value = "法人name")
    private String corporateName;

    @ApiModelProperty(value = "简介")
    private String introduction;

    @ApiModelProperty(value = "权重")
    private int weight;

    @ApiModelProperty(value = "估值（单位：百万）")
    private float valuations;

    @ApiModelProperty(value = "最近融资时间")
    @Column(name = "recent_financing")
    private Date recentFinancing;

    @ApiModelProperty(value = "最新轮次")
    @Column(name = "recent_Round")
    private String recentRound;

    @ApiModelProperty(value = "最新投资人")
    private String recentInvestor;

    @ApiModelProperty(value = "创建时间")
    @Column(name = "create_time")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    @Column(name = "update_time")
    private Date updateTime;

    @ApiModelProperty(value = "注册资本")
    @Column(name = "registered_capital")
    private String registeredCapital;

    @ApiModelProperty(value = "商业模式")
    private String model;

    private String url;

    @ApiModelProperty(value = "商业模式图片")
    @Column(name = "model_image")
    private String modelImage;

    @ApiModelProperty(value = "一级分类")
    @Column(name = "trade_a")
    private String tradeA;

    @ApiModelProperty(value = "二级分类")
    @Column(name = "trade_b")
    private String tradeB;

    @ApiModelProperty(value = "三级分类")
    @Column(name = "trade_c")
    private String tradeC;

    @ApiModelProperty(value = "一句话简介")
    private String bref;

    @ApiModelProperty(value = "评分")
    private int point;

//    @ApiModelProperty(value = "四级级分类")
//    @Column(name = "trade_d")
//    private String tradeD;

    @ApiModelProperty(value = "对外投资列表")
    private List<CompanyInvesterEntity> investerList;

    @ApiModelProperty(value = "融资伦茨")
    private List<CompanyFinancingEntity> financList;

    @ApiModelProperty(value = "股东信息")
    private List<CompanyStockholderVo> stockholderList;

    @ApiModelProperty(value = "综合评分")
    private  List<CompanyPointEntity> pointList;

    @ApiModelProperty(value = "新闻报道")
    private List<CompanyReportEntity> reportList;

    @ApiModelProperty(value = "管理团队")
    private List<CompanyTeamVo> teamList;

    @ApiModelProperty(value = "商业模式")
    private List<CompanyModelEntity> modelList;

    @ApiModelProperty(value = "机构列表")
    private List<InstitutionEntity> institutionList;

    @ApiModelProperty(value = "竞争对手")
    private List<CompanyOpponentVo> opponentList;

    @ApiModelProperty(value = "所属行业列表")
    private List<CompanyTradeEntity> companyTradeEntityList;

    private float money;

    @ApiModelProperty(value = "公司id")
    @Column(name = "money_string")
    private String moneyString;

    private List<String> tradePath;


}
